﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x02000228 RID: 552
	public class ReturnStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x06001287 RID: 4743 RVA: 0x003194FD File Offset: 0x003176FD
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			ReturnStmtFormatter returnStmtFormatter = formatterArg as ReturnStmtFormatter;
			returnStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			returnStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
			returnStmtFormatter.addSpecialProcessor(ProcessorFactory.createReturnStmtProcessor(this.Option));
		}

		// Token: 0x06001288 RID: 4744 RVA: 0x00319537 File Offset: 0x00317737
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new ReturnStmtFormatter();
		}
	}
}
